<div id="print_table">
  <div class="container">
    <h2>附件4</h2>
    <div class="evaluation-form print-container">
      <div class="header">
        <h3>实习生鉴定评估表</h3>
      </div>

      <div class="form-section">
        <h5>基本情况</h5>
        <table class="info-table">
          <tr>
            <td colspan="2">实习媒体及部门</td>
            <td colspan="6" class="font_left">{{formData.department || '&nbsp;'}}</td>
            <td colspan="2">地点</td>
            <td colspan="2" class="font_left">{{formData.location || '&nbsp;'}}</td>
          </tr>
          <tr>
            <td colspan="2">实习部门、岗位</td>
            <td colspan="4" class="font_left">{{formData.position || '&nbsp;'}}</td>
            <td colspan="2">实习导师1</td>
            <td colspan="4" class="font_left">{{formData.mentor1}}</td>
          </tr>
          <tr>
            <td colspan="2">实习起止时间</td>
            <td colspan="4" class="font_left">{{formData.start_date}}</td>
            <td colspan="2">实习导师2</td>
            <td colspan="4" class="font_left">{{formData.mentor2}}</td>
          </tr>
          <tr>
            <td colspan="2">姓名</td>
            <td colspan="2" class="font_left">{{formData.name}}</td>
            <td colspan="2">性别</td>
            <td colspan="2" class="font_left">{{formData.gender}}</td>
            <td colspan="2">学历</td>
            <td colspan="2" class="font_left">{{formData.education}}</td>
          </tr>
          <tr>
            <td colspan="2">学校</td>
            <td colspan="2" class="font_left">{{formData.school}}</td>
            <td colspan="2">年级</td>
            <td colspan="2" class="font_left">{{formData.grade}}</td>
            <td colspan="2">专业</td>
            <td colspan="2" class="font_left">{{formData.major}}</td>
          </tr>
          <tr>
            <td colspan="2">手机</td>
            <td colspan="2" class="font_left">{{formData.phone}}</td>
            <td colspan="2">电子邮箱</td>
            <td colspan="6" class="font_left">{{formData.email}}</td>
          </tr>
          <tr>
            <td colspan="2">身份证号</td>
            <td colspan="10" class="font_left">{{formData.id_card}}</td>
          </tr>
          <tr>
            <td colspan="2">通讯地址与邮编</td>
            <td colspan="10" class="font_left">{{formData.address}}</td>
          </tr>
        </table>
      </div>
      <div class="form-section">
        <h5>实习成果</h5>
        <table class="achievement-table">
          <thead>
            <tr>
              <th width="30">序号</th>
              <th>实习成果（代表作品、项目）</th>
              <th width="90">见报时间</th>
              <th width="60">版面</th>
              <th width="50">字数</th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let item of formData.achievements; let i = index">
              <td>{{i + 1}}</td>
              <td class="font_left">
                <div class="">
                    {{item.work}}
                </div>
              </td>
              <td>{{item.publishDate}}</td>
              <td>{{item.page}}</td>
              <td>{{item.wordCount}}</td>
            </tr>
          </tbody>
        </table>
      </div>

      <div class="form-section">
        <h5>个人总结</h5>
        <table class="achievement-table">
          <tr>
            <td>
              <div class="tr_box">
                <p>{{formData.comments || '&nbsp;'}}</p>
                <div>
                    <span>签名:</span>
                    <span>日期:</span>
                </div>
              </div>
            </td>
          </tr>
        </table>
      </div>

      <div class="form-section print-page-break-before">
        <h5>导师评语（请从实习成果、团队合作、性格特征等方面给予详细、客观的评价）</h5>
        <table class="achievement-table">
          <tr>
            <td>
              <div class="tr_box_mentor">
                <div class="tr_box_mentor_title">
                    <p>{{formData.mentor1Comment.name}}（{{formData.mentor1Comment.date}}）</p>
                    <p>{{formData.mentor1Comment.content || '&nbsp;'}}</p>
                </div>
                <div class="tr_box_mentor_title" style="margin-top: 20px;">
                     <p>{{formData.mentor2Comment.name}}（{{formData.mentor2Comment.date}}）</p>
                     <p>{{formData.mentor2Comment.content || '&nbsp;'}}</p>
                </div>
                
                <!-- <div class="tr_box_mentor_footer">
                  <p>:</p>
                  <p>导师2:</p>
                  <p>日期:</p>
                </div> -->
              </div>
            </td>
          </tr>
        </table>
      </div>
      <div class="form-section">
        <h5>部门分管领导意见</h5>
        <table class="achievement-table">
          <tr>
            <td>
              <div class="tr_box_leader_opinion">
                 <p *ngFor="let item of formData.departmentLeaderComment; let i = index">
                   <span>{{item.name}}已通过</span>
                   <span>{{item.date}}</span>
                 </p>
              </div>
            </td>
          </tr>
        </table>
      </div>
      <div class="form-section">
        <h5>实习部门办公室意见</h5>
        <table class="achievement-table">
          <tr>
            <td>
              <div class="tr_box_opinion">
                <p>{{formData.officeComment || '&nbsp;'}}</p>
                <div class="tr_box_opinion_footer">
                  <span>签名:</span>
                  <span>日期:</span>
                </div>

              </div>
            </td>
          </tr>
        </table>
        <p>（办公室出具意见后将通知邮寄的方式将本表寄给实习生）</p>
      </div>
    </div>
  </div>
  <div class="print-actions ">
    <button (click)="printForm()">打印</button>
    <!-- <button (click)="closeWindow()" >关闭</button> -->
  </div>
</div>